package com.sinosoft.system.primary.dao;

import java.util.List;

import com.sinosoft.system.primary.entity.SysButtonRel;
import com.sinosoft.system.primary.entity.SysRole;
   /**
    * sys_button_rel Dao接口类
    * Fri Dec 23 15:06:05 CST 2016 shangxp
    */ 


public interface SysButtonRelDao {
	public int insertSysButtonRel(SysButtonRel sysButtonRel);
	public int updateSysButtonRel(SysButtonRel sysButtonRel);
	public int deleteSysButtonRel(int id);
	public SysButtonRel selectSysButtonRel(int id);
	public SysButtonRel selectSysButtonRel(String[] queryKeys,Object[] queryValues);
	public int selectCountSysButtonRel();
	public int selectCountSysButtonRel(String[] queryKeys,Object[] queryValues);
	public List<SysButtonRel> selectLimitSysButtonRel(int start,int end);
	public List<SysButtonRel> selectLimitSysButtonRel(String[] queryKeys,Object[] queryValues);
	public List<SysButtonRel> selectAllSysButtonRel();
	public List<SysButtonRel> selectAllSysButtonRel(String[] queryKeys,Object[] queryValues);
	
	public List<SysButtonRel> selectRoleSysButtonRels(List<SysRole> queryValues);

}

